UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

HAProxy must be configured to validate the configuration files during start and restart events.


Overview

Finding ID Version Rule ID IA Controls Severity
V-240068 VRAU-HA-000280 SV-240068r879640_rule Medium
Description
Failure in a known state can address safety or security in accordance with the mission/business needs of the organization. Failure in a known secure state helps prevent a loss of confidentiality, integrity, or availability in the event of a failure of the information system or a component of the system. Failure in a known safe state helps prevent systems from failing to a state that may cause loss of data or unauthorized access to system resources. Applications or systems that fail suddenly and with no incorporated failure state planning may leave the hosting system available but with a reduced security protection capability. Preserving information system state information also facilitates system restart and return to the operational mode of the organization with less disruption of mission/business processes. An example is a firewall that blocks all traffic rather than allowing all traffic when a firewall component fails. This prevents an attacker from forcing a failure of the system in order to obtain access. Web servers must fail to a known consistent state. Validating the server's configuration file during start and restart events can help to minimize the risk of an unexpected server failure during system start.
STIG Date
VMW vRealize Automation 7.x HA Proxy Security Technical Implementation Guide 2023-09-12

Details

Check Text ( C-43301r665371_chk )
At the command prompt, execute the following command:

grep -E '\s(start|restart)\)' -A 7 /etc/init.d/haproxy

If the command "haproxy_check" is not shown in the "start)" and the "restart)" code blocks, this is a finding.
Fix Text (F-43260r665372_fix)
Navigate to and open /etc/init.d/haproxy

Navigate to the "start)" code block. Add the value "haproxy_check" before the line with the value "/sbin/startproc".

Navigate to the "restart)" code block. Add the value "haproxy_check" before the line with the value "$0 stop".